package cn.txun05.csmall.passport.mapper;


import cn.txun05.csmall.passport.pojo.entity.Admin;
import cn.txun05.csmall.passport.pojo.vo.AdminLogInfoVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Result;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

@Repository
public interface AdminMapper extends BaseMapper<Admin> {
    /**根据用户名查用户信息*/
    AdminLogInfoVO getLoginInfoByUsername(@Param("username") String username);
}
